with data_library; use data_library;
with interfaces.c; use interfaces.c;
with bus_stops;    use bus_stops;
with gestionnaire; use gestionnaire;

package interface_cpp is

    procedure set_bus_stop_arrival_time(numBusStop: in Integer; s : in ptr_T_Schedule); 
    pragma export(C,set_bus_stop_arrival_time,"set_bus_stop_arrival_time");
    
    procedure set_bus_time(numBus: in Integer;retard: in Integer); 
    pragma export(C,set_bus_time,"set_bus_time");
      
    procedure deviation(numBus : in Integer);
    pragma export(C,deviation,"deviation");

    procedure set_bus_position (numBus: in integer; numLigne: in integer; p: in ptr_position;speed: in Float);
    pragma import(C,set_bus_position, "set_bus_position");
    
    procedure announce_problem(numBus: in integer;message : in char_array; p : in ptr_position );
    pragma import(C,announce_problem,"announce_problem");
    
    procedure create_operating_center(nbbus : in integer);
    pragma import(C,create_operating_center,"create_operating_center");

    
end interface_cpp;
